import {
	request
} from "./request.js";
import {
	checkRequired
} from "./utils.js";

// 高德地图https://lbs.amap.com/
const gateway = "https://restapi.amap.com";
const key = "aded8feffab7c7c334294c231b6d8616";

let api = {
	// 高德地图逆地理编码
	v3$geocode$regeo: ({
		location,
		radius
	}) => {
		return request({
			gateway,
			url: `/v3/geocode/regeo?key=${key}&location=${location}&radius=${radius}`,
			method: 'GET',
		});
	},

	// ...oters,
}

export default api;